package com.ms.dsq_english.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @Author: zheng
 */
public class SalesBean {


    /**
     * code : 10000
     * msg : 成功！
     * data : {"all_sales":{"all_amount":6417484,"today_order_count":"0","today_order_amount":0,"month_order_count":"113","month_order_amount":195},"sales_region":[{"nums":"388","pname":"江苏省"},{"nums":"7","pname":"安徽省"},{"nums":"200","pname":"山东省"}],"year_target":{"year_target_rate":1.9,"quarter_order_price":19,"growth_status":0,"quarter_grown":93},"sales_category_rate":[{"goods_line_name":"NOVAS尊属","amount":"35510.40","rate":1},{"goods_line_name":"美素金装","amount":"3137252.00","rate":46},{"goods_line_name":"皇家美素佳儿","amount":"3580297.81","rate":53}],"product_category_ranking":[{"goods_line_name":"NOVAS尊属","goods_number":"162"},{"goods_line_name":"美素金装","goods_number":"20845"},{"goods_line_name":"皇家美素佳儿","goods_number":"10858"}],"city_ranking":[{"nums":"248052","cname":"南京市"},{"nums":"99439","cname":"淮安市"},{"nums":"117423","cname":"盐城市"},{"nums":"139030","cname":"扬州市"},{"nums":"235021","cname":"泰州市"},{"nums":"119492","cname":"宿迁市"},{"nums":"5958","cname":"合肥市"}],"product_details":[{"amount":"148598.00","goods_number":"985","goods_line_name":"美素金装","goods_line_id":"2","month_amount":149,"rate":76,"quarter_rate":0},{"amount":"46153.43","goods_number":"146","goods_line_name":"皇家美素佳儿","goods_line_id":"3","month_amount":46,"rate":24,"quarter_rate":0}],"last_time":"2021-01-26 17:31:36"}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * all_sales : {"all_amount":6417484,"today_order_count":"0","today_order_amount":0,"month_order_count":"113","month_order_amount":195}
         * sales_region : [{"nums":"388","pname":"江苏省"},{"nums":"7","pname":"安徽省"},{"nums":"200","pname":"山东省"}]
         * year_target : {"year_target_rate":1.9,"quarter_order_price":19,"growth_status":0,"quarter_grown":93}
         * sales_category_rate : [{"goods_line_name":"NOVAS尊属","amount":"35510.40","rate":1},{"goods_line_name":"美素金装","amount":"3137252.00","rate":46},{"goods_line_name":"皇家美素佳儿","amount":"3580297.81","rate":53}]
         * product_category_ranking : [{"goods_line_name":"NOVAS尊属","goods_number":"162"},{"goods_line_name":"美素金装","goods_number":"20845"},{"goods_line_name":"皇家美素佳儿","goods_number":"10858"}]
         * city_ranking : [{"nums":"248052","cname":"南京市"},{"nums":"99439","cname":"淮安市"},{"nums":"117423","cname":"盐城市"},{"nums":"139030","cname":"扬州市"},{"nums":"235021","cname":"泰州市"},{"nums":"119492","cname":"宿迁市"},{"nums":"5958","cname":"合肥市"}]
         * product_details : [{"amount":"148598.00","goods_number":"985","goods_line_name":"美素金装","goods_line_id":"2","month_amount":149,"rate":76,"quarter_rate":0},{"amount":"46153.43","goods_number":"146","goods_line_name":"皇家美素佳儿","goods_line_id":"3","month_amount":46,"rate":24,"quarter_rate":0}]
         * last_time : 2021-01-26 17:31:36
         */

        private AllSalesBean all_sales;
        private YearTargetBean year_target;
        private String last_time;
        private List<SalesRegionBean> sales_region;
        private ArrayList<SalesCategoryRateBean> sales_category_rate;
        private List<ProductCategoryRankingBean> product_category_ranking;
        private List<CityRankingBean> city_ranking;
        private List<ProductDetailsBean> product_details;
        private String product_category_ranking_max;
        private String city_ranking_max;
        private ArrayList<YtdBean> YTD_product_sale_chart;
        private ArrayList<YtdBean> YTD_product_chart_line;

        public ArrayList<YtdBean> getYTD_product_chart_line() {
            return YTD_product_chart_line;
        }

        public void setYTD_product_chart_line(ArrayList<YtdBean> YTD_product_chart_line) {
            this.YTD_product_chart_line = YTD_product_chart_line;
        }

        public ArrayList<YtdBean> getYTD_product_sale_chart() {
            return YTD_product_sale_chart;
        }

        public void setYTD_product_sale_chart(ArrayList<YtdBean> YTD_product_sale_chart) {
            this.YTD_product_sale_chart = YTD_product_sale_chart;
        }

        public String getCity_ranking_max() {
            return city_ranking_max;
        }

        public void setCity_ranking_max(String city_ranking_max) {
            this.city_ranking_max = city_ranking_max;
        }

        public String getProduct_category_ranking_max() {
            return product_category_ranking_max;
        }

        public void setProduct_category_ranking_max(String product_category_ranking_max) {
            this.product_category_ranking_max = product_category_ranking_max;
        }

        public AllSalesBean getAll_sales() {
            return all_sales;
        }

        public void setAll_sales(AllSalesBean all_sales) {
            this.all_sales = all_sales;
        }

        public YearTargetBean getYear_target() {
            return year_target;
        }

        public void setYear_target(YearTargetBean year_target) {
            this.year_target = year_target;
        }

        public String getLast_time() {
            return last_time;
        }

        public void setLast_time(String last_time) {
            this.last_time = last_time;
        }

        public List<SalesRegionBean> getSales_region() {
            return sales_region;
        }

        public void setSales_region(List<SalesRegionBean> sales_region) {
            this.sales_region = sales_region;
        }

        public ArrayList<SalesCategoryRateBean> getSales_category_rate() {
            return sales_category_rate;
        }

        public void setSales_category_rate(ArrayList<SalesCategoryRateBean> sales_category_rate) {
            this.sales_category_rate = sales_category_rate;
        }

        public List<ProductCategoryRankingBean> getProduct_category_ranking() {
            return product_category_ranking;
        }

        public void setProduct_category_ranking(List<ProductCategoryRankingBean> product_category_ranking) {
            this.product_category_ranking = product_category_ranking;
        }

        public List<CityRankingBean> getCity_ranking() {
            return city_ranking;
        }

        public void setCity_ranking(List<CityRankingBean> city_ranking) {
            this.city_ranking = city_ranking;
        }

        public List<ProductDetailsBean> getProduct_details() {
            return product_details;
        }

        public void setProduct_details(List<ProductDetailsBean> product_details) {
            this.product_details = product_details;
        }
        public static class YtdBean {
            private String line_3;
            private String line_2;
            private String line_1;
            private String months;
            private String line_name;

            public String getLine_name() {
                return line_name;
            }

            public void setLine_name(String line_name) {
                this.line_name = line_name;
            }

            public String getLine_3() {
                return line_3;
            }

            public void setLine_3(String line_3) {
                this.line_3 = line_3;
            }

            public String getLine_2() {
                return line_2;
            }

            public void setLine_2(String line_2) {
                this.line_2 = line_2;
            }

            public String getLine_1() {
                return line_1;
            }

            public void setLine_1(String line_1) {
                this.line_1 = line_1;
            }

            public String getMonths() {
                return months;
            }

            public void setMonths(String months) {
                this.months = months;
            }
        }
        public static class AllSalesBean {
            /**
             * all_amount : 6417484
             * today_order_count : 0
             * today_order_amount : 0
             * month_order_count : 113
             * month_order_amount : 195
             */

            private String all_amount;
            private String today_order_count;
            private String today_order_amount;
            private String month_order_count;
            private String month_order_amount;

            public String getAll_amount() {
                return all_amount;
            }

            public void setAll_amount(String all_amount) {
                this.all_amount = all_amount;
            }

            public String getToday_order_count() {
                return today_order_count;
            }

            public void setToday_order_count(String today_order_count) {
                this.today_order_count = today_order_count;
            }

            public String getToday_order_amount() {
                return today_order_amount;
            }

            public void setToday_order_amount(String today_order_amount) {
                this.today_order_amount = today_order_amount;
            }

            public String getMonth_order_count() {
                return month_order_count;
            }

            public void setMonth_order_count(String month_order_count) {
                this.month_order_count = month_order_count;
            }

            public String getMonth_order_amount() {
                return month_order_amount;
            }

            public void setMonth_order_amount(String month_order_amount) {
                this.month_order_amount = month_order_amount;
            }
        }

        public static class YearTargetBean {
            /**
             * year_target_rate : 1.9
             * quarter_order_price : 19
             * growth_status : 0
             * quarter_grown : 93
             */

            private double year_target_rate;
            private String quarter_order_price;
            private String growth_status;
            private int quarter_grown;

            public double getYear_target_rate() {
                return year_target_rate;
            }

            public void setYear_target_rate(double year_target_rate) {
                this.year_target_rate = year_target_rate;
            }

            public String getQuarter_order_price() {
                return quarter_order_price;
            }

            public void setQuarter_order_price(String quarter_order_price) {
                this.quarter_order_price = quarter_order_price;
            }

            public String getGrowth_status() {
                return growth_status;
            }

            public void setGrowth_status(String growth_status) {
                this.growth_status = growth_status;
            }

            public int getQuarter_grown() {
                return quarter_grown;
            }

            public void setQuarter_grown(int quarter_grown) {
                this.quarter_grown = quarter_grown;
            }
        }

        public static class SalesRegionBean {
            /**
             * nums : 388
             * pname : 江苏省
             */

            private String nums;
            private String pname;

            public String getNums() {
                return nums;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public String getPname() {
                return pname;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }
        }

        public static class SalesCategoryRateBean {
            /**
             * goods_line_name : NOVAS尊属
             * amount : 35510.40
             * rate : 1
             */

            private String goods_line_name;
            private String amount;
            private int rate;
            private String color;

            public String getColor() {
                return color;
            }

            public void setColor(String color) {
                this.color = color;
            }

            public String getGoods_line_name() {
                return goods_line_name;
            }

            public void setGoods_line_name(String goods_line_name) {
                this.goods_line_name = goods_line_name;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public int getRate() {
                return rate;
            }

            public void setRate(int rate) {
                this.rate = rate;
            }
        }

        public static class ProductCategoryRankingBean {
            /**
             * goods_line_name : NOVAS尊属
             * goods_number : 162
             */

            private String goods_line_name;
            private String goods_number;

            public String getGoods_line_name() {
                return goods_line_name;
            }

            public void setGoods_line_name(String goods_line_name) {
                this.goods_line_name = goods_line_name;
            }

            public String getGoods_number() {
                return goods_number;
            }

            public void setGoods_number(String goods_number) {
                this.goods_number = goods_number;
            }
        }

        public static class CityRankingBean {
            /**
             * nums : 248052
             * cname : 南京市
             */

            private String nums;
            private String cname;

            public String getNums() {
                return nums;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public String getCname() {
                return cname;
            }

            public void setCname(String cname) {
                this.cname = cname;
            }
        }

        public static class ProductDetailsBean {
            /**
             * amount : 148598.00
             * goods_number : 985
             * goods_line_name : 美素金装
             * goods_line_id : 2
             * month_amount : 149
             * rate : 76
             * quarter_rate : 0
             */

            private String amount;
            private String goods_number;
            private String goods_line_name;
            private String goods_line_id;
            private int month_amount;
            private int rate;
            private int quarter_rate;

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getGoods_number() {
                return goods_number;
            }

            public void setGoods_number(String goods_number) {
                this.goods_number = goods_number;
            }

            public String getGoods_line_name() {
                return goods_line_name;
            }

            public void setGoods_line_name(String goods_line_name) {
                this.goods_line_name = goods_line_name;
            }

            public String getGoods_line_id() {
                return goods_line_id;
            }

            public void setGoods_line_id(String goods_line_id) {
                this.goods_line_id = goods_line_id;
            }

            public int getMonth_amount() {
                return month_amount;
            }

            public void setMonth_amount(int month_amount) {
                this.month_amount = month_amount;
            }

            public int getRate() {
                return rate;
            }

            public void setRate(int rate) {
                this.rate = rate;
            }

            public int getQuarter_rate() {
                return quarter_rate;
            }

            public void setQuarter_rate(int quarter_rate) {
                this.quarter_rate = quarter_rate;
            }
        }
    }
}
